﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebFormPanel.aspx.cs" Inherits="Projet1VideoAulaNery.WebFormPanel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
            Text="Button Panel1" />
        <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
            Text="Button Panel2" />
    
    </div>
    <asp:AdRotator ID="AdRotator1" runat="server" 
        AdvertisementFile="~/cursos.xml" />
    <asp:Panel ID="Panel1" runat="server" BackColor="Yellow" BorderColor="Yellow" 
        GroupingText="Monstrando Panel1" Height="58px" Width="446px">
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:Button ID="Button2" runat="server" Text="Gravar" />
    </asp:Panel>
    <asp:Panel ID="Panel2" runat="server" BackColor="#CC66FF" 
        GroupingText="Panel 2" Height="51px" Visible="False" Width="445px">
    </asp:Panel>
    <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
        <asp:View ID="ViewPesoaFisica" runat="server">
        <asp:Panel ID="Panel3" runat="server" BackColor="Yellow" BorderColor="Yellow" 
        GroupingText="Pessoa Física" Height="58px" Width="446px">
        <asp:Label ID="Label2" runat="server" Text="Nome"></asp:Label>
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            <asp:Label ID="Label3" runat="server" Text="CPF"></asp:Label>
            <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
    </asp:Panel>
        </asp:View>
    <asp:View ID="View2PessoaJuridica" runat="server">
        <asp:Panel ID="Panel4" runat="server" BackColor="#9999FF" BorderColor="Yellow" 
        GroupingText="Pessoa Jurídica" Height="58px" Width="446px">
        <asp:Label ID="Label4" runat="server" Text="Empresa"></asp:Label>
        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
        <asp:Label ID="Label5" runat="server" Text="CNPJ"></asp:Label>
       <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
    </asp:Panel>
        </asp:View>
    </asp:MultiView>
    </form>
</body>
</html>
